|
|
|
|
Joined: Jan 2003
Posts: 338
Enthusiast
|
|
Enthusiast
Joined: Jan 2003
Posts: 338 |
I think about admin logs which could save information in specyfic files - for example: command "edit post" >> is saved in editpost.log command "edit board" >> is saved in editboards.log command "make new forum" >> is saved in newforum.log ... etc.
Now It's very hard find any information on the list of logs.
|
|
|
|
|
Joined: Mar 2003
Posts: 215
Junior Member
|
|
Junior Member
Joined: Mar 2003
Posts: 215 |
Yes that would be very nice...or even just a filter to filter out only certain types of logs from the single file.
|
|
|
|
|
Joined: Apr 2002
Posts: 1,768
Addict
|
|
Addict
Joined: Apr 2002
Posts: 1,768 |
I like having the information in a single file. It's just a text file, so you can easily search for whatever you're looking for using a text editor or text search tool.
When that was first written as a mod, before it was adopted as a feature, there was some discussion of storing the log in the database. That might add a lot of queries, though. Maybe a cleaner solution would be an addon script that reads the admin log file and stores it in a database table. Then queries could be used for seaches.
|
|
|
|
|
Joined: May 1999
Posts: 1,715
Addict
|
|
Addict
Joined: May 1999
Posts: 1,715 |
Yeah, a bad thing about doing the logs into the database directly is that if someone drops the database with sql command, you won't be able to see who did it. Having it as an external file adds a little bit of extra safety at least.
Adding them into a database later to do searches could of course be a solution, but if you keep the logs relatively short it would be just as easy to search the text file.
I'm thinking a drop list at the top of the log viewer with a select box for all different operations, and if one is selected, only those are shown. Since the list is parsed to be put into a table, it won't even be much of a change or speed decrease. How does that sound?
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 3408
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 2
|
|
|
|
|
|